#include<stdio.h>
#include<stdlib.h>

void Func()
{
    printf("clear all malloc !\n");
}

int main()
{
    atexit(Func);
    printf("main end!\n");
    return 0;
}